package com.sumainfor.wx.system.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.wx.system.feign.BaseFeignEpc;
import com.sumainfor.wx.system.feign.BaseFeignGmio;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 功能描述:
 *
 * @Auther: zhlu
 * @Date: 2019/1/18 16:03
 * @Description:
 */
@Component
public class FeignGmioFallback implements BaseFeignGmio {


    @Override
    public JsonResult getHoLivecardList(Map<String, Object> params, Pager pager) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult updateHoLivecard(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getHoGasMeterLast(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult addHoWegMeter(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getHoPactWithCount(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getTenantBillWithdraList(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getChargesDept(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getHoEleMeter(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult getHoWaterMeterLast(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoProduceMoney(Map<String, Object> params) {
        return JsonResult.error("运营部服务器繁忙...");
    }

    @Override
    public JsonResult addHoWithdrawal(Map<String, Object> params) {
        return null;
    }
}
